<include file="public@header"/>
</head>
<body>
<div class="wrap">
    <ul class="nav nav-tabs">
        <li class=""><a href="{:url('staff/getStaff')}">内部员工</a></li>
        <li class="active"><a>新增</a></li>
    </ul>
    <form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{:url('staff/doadd')}"
          enctype="multipart/form-data">


        <div class="form-group">
            <label for="js-smtpsecure" class="col-sm-2 control-label">
                <span class="form-required">*</span>员工姓名
            </label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" name="name">
            </div>
        </div>


        <div class="form-group">
            <label for="js-smtpsecure" class="col-sm-2 control-label">
                <span class="form-required">*</span>员工职位
            </label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" name="position">
            </div>
        </div>

        <div class="form-group">

            <label for="js-smtpsecure" class="col-sm-2 control-label">
                <span class="form-required">*</span>联系方式
            </label>
            <div class="col-md-6 col-sm-10">
                <input type="number" class="form-control" name="mobile">
            </div>
        </div>

        <div class="form-group">

            <label for="js-smtpsecure" class="col-sm-2 control-label">
                <span class="form-required">*</span>家庭住址
            </label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" name="address">
            </div>
        </div>

        <div class="form-group">

            <label for="js-smtpsecure" class="col-sm-2 control-label">
                <span class="form-required">*</span>是否在职
            </label>
            <div class="col-md-6 col-sm-10">
                <select name="status" class="form-control">
                    <option value=""></option>
                    <option value="1">在职</option>
                    <option value="2">离职</option>
                </select>
            </div>
        </div>


        <div class="form-group">

            <label for="js-smtpsecure" class="col-sm-2 control-label">
                <span class="form-required">*</span>任职收入
            </label>
            <div class="col-md-6 col-sm-10">
                <input type="number" class="form-control" name="income">
            </div>
        </div>

        <div class="form-group">
            <label for="js-smtpsecure" class="col-sm-2 control-label">
                <span class="form-required">*</span>身份证号
            </label>
            <div class="col-md-6 col-sm-10">
                <input type="number" class="form-control" name="card">
            </div>
        </div>

        <div class="form-group">
            <label for="js-smtpsecure" class="col-sm-2 control-label">
                <span class="form-required">*</span>入职时间
            </label>
            <div class="col-md-6 col-sm-10">
                <input type="date" class="form-control" name="insTime">
            </div>
        </div>

        <div class="form-group">

            <label for="js-smtpsecure" class="col-sm-2 control-label">身份证正/反面
            </label>
            <div class="col-md-6 col-sm-10">
                <input type="file" name="image[]" multiple /> <br>
            </div>
        </div>



        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <button type="submit" class="btn btn-primary js-ajax-submit">{:lang('SAVE')}</button>
                <a class="btn btn-default" href="javascript:history.back(-1);">{:lang('BACK')}</a>
            </div>
        </div>
    </form>
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>